package com.pinyoumei.app.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2021-09-01.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-09-01        Administrator             新增Person类
 * 2021-09-01        Administrator             增加sex属性
 */
public class GoodDetailsBean implements Serializable {

    /**
     * code : 1
     * errors : {}
     * msg : 操作成功
     * result : {"data_info":{"goods_name":"溪谷珍香米2.5kg","user_head_imgs":["https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png"],"sale_num":0,"stock_num":12123,"is_can_pt":1,"goods_detail":"","sale_price":112.88,"banner_images":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319951190.jpg,https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319954069.jpg","count_down_hour":"00","group_buying_num":2442,"begin_group_buy_time":"14:00:00","count_down_minute":"00","count_down_second":"00","market_price":168,"pt_price":99.98}}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean implements Serializable{
    }

    public static class ResultBean implements Serializable{
        /**
         * data_info : {"goods_name":"溪谷珍香米2.5kg","user_head_imgs":["https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png"],"sale_num":0,"stock_num":12123,"is_can_pt":1,"goods_detail":"","sale_price":112.88,"banner_images":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319951190.jpg,https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319954069.jpg","count_down_hour":"00","group_buying_num":2442,"begin_group_buy_time":"14:00:00","count_down_minute":"00","count_down_second":"00","market_price":168,"pt_price":99.98}
         */

        private DataInfoBean data_info;

        public DataInfoBean getData_info() {
            return data_info;
        }

        public void setData_info(DataInfoBean data_info) {
            this.data_info = data_info;
        }

        public static class DataInfoBean implements Serializable{
            /**
             * goods_name : 溪谷珍香米2.5kg
             * user_head_imgs : ["https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png","https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630289927341.png"]
             * sale_num : 0
             * stock_num : 12123
             * is_can_pt : 1
             * goods_detail :
             * sale_price : 112.88
             * banner_images : https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319951190.jpg,https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319954069.jpg
             * count_down_hour : 00
             * group_buying_num : 2442
             * begin_group_buy_time : 14:00:00
             * count_down_minute : 00
             * count_down_second : 00
             * market_price : 168
             * pt_price : 99.98
             */

            private String goods_name;
            private int sale_num;
            private int stock_num;
            private int is_can_pt;
            private String goods_detail;
            private BigDecimal sale_price;
            private String banner_images;
            private String count_down_hour;
            private int group_buying_num;
            private String begin_group_buy_time;
            private String count_down_minute;
            private String count_down_second;
            private BigDecimal market_price;
            private BigDecimal pt_price;
            private List<String> user_head_imgs;
            private String pt_back_coupon;
            private String pt_end_time;
            private String pt_begin_time;

            public String getPt_back_coupon() {
                return pt_back_coupon;
            }

            public void setPt_back_coupon(String pt_back_coupon) {
                this.pt_back_coupon = pt_back_coupon;
            }

            public String getPt_end_time() {
                return pt_end_time;
            }

            public void setPt_end_time(String pt_end_time) {
                this.pt_end_time = pt_end_time;
            }

            public String getPt_begin_time() {
                return pt_begin_time;
            }

            public void setPt_begin_time(String pt_begin_time) {
                this.pt_begin_time = pt_begin_time;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public int getSale_num() {
                return sale_num;
            }

            public void setSale_num(int sale_num) {
                this.sale_num = sale_num;
            }

            public int getStock_num() {
                return stock_num;
            }

            public void setStock_num(int stock_num) {
                this.stock_num = stock_num;
            }

            public int getIs_can_pt() {
                return is_can_pt;
            }

            public void setIs_can_pt(int is_can_pt) {
                this.is_can_pt = is_can_pt;
            }

            public String getGoods_detail() {
                return goods_detail;
            }

            public void setGoods_detail(String goods_detail) {
                this.goods_detail = goods_detail;
            }

            public BigDecimal getSale_price() {
                return sale_price;
            }

            public void setSale_price(BigDecimal sale_price) {
                this.sale_price = sale_price;
            }

            public String getBanner_images() {
                return banner_images;
            }

            public void setBanner_images(String banner_images) {
                this.banner_images = banner_images;
            }

            public String getCount_down_hour() {
                return count_down_hour;
            }

            public void setCount_down_hour(String count_down_hour) {
                this.count_down_hour = count_down_hour;
            }

            public int getGroup_buying_num() {
                return group_buying_num;
            }

            public void setGroup_buying_num(int group_buying_num) {
                this.group_buying_num = group_buying_num;
            }

            public String getBegin_group_buy_time() {
                return begin_group_buy_time;
            }

            public void setBegin_group_buy_time(String begin_group_buy_time) {
                this.begin_group_buy_time = begin_group_buy_time;
            }

            public String getCount_down_minute() {
                return count_down_minute;
            }

            public void setCount_down_minute(String count_down_minute) {
                this.count_down_minute = count_down_minute;
            }

            public String getCount_down_second() {
                return count_down_second;
            }

            public void setCount_down_second(String count_down_second) {
                this.count_down_second = count_down_second;
            }

            public BigDecimal getMarket_price() {
                return market_price;
            }

            public void setMarket_price(BigDecimal market_price) {
                this.market_price = market_price;
            }

            public BigDecimal getPt_price() {
                return pt_price;
            }

            public void setPt_price(BigDecimal pt_price) {
                this.pt_price = pt_price;
            }

            public List<String> getUser_head_imgs() {
                return user_head_imgs;
            }

            public void setUser_head_imgs(List<String> user_head_imgs) {
                this.user_head_imgs = user_head_imgs;
            }
        }
    }
}
